package dhy.com.container;

import dhy.com.exception.RpcContainerException;

import java.lang.reflect.Method;

/**
 * <P>
 *     RPC容器顶层接口
 * </P>
 * @author zdh
 */
public interface RpcContainer
{

    /**
     * <P>
     *     往容器中放入唯一的实体类
     * </P>
     */
    public void putInstanceIntoClient(Class instance) throws RpcContainerException;
    public void putInstanceIntoServer(Class instance) throws RpcContainerException;
}
